
<%@ page import="pc.system.*,wstrader.*,wstrader.task.*" %>

<%
    Users user = Trader.getUser(request.getParameter("uid"));
	
	if (user == null || !user.Authenticated()) {
		response.sendRedirect("logon.jsp");	
		return;
	}

	user.getRequest().setRequest(request);
	user.getResponse().setResponse(response,out);
	
	wstrader.task.warehouse.Weighing weighing = user.warehouse.weighing;
	((Tasks)weighing.getOwner()).clearFocus();
	weighing.setFocus(true);
	//task.forwardToChild(user.getuid());		
	String wn_type = weighing.getRequest().getStringValue("wn_type","I");
%>


<%@include file="../header.jsp"%>

<script language="javascript" src="warehouse.js"></script>

<script language="javascript">
	getObj("main_window").width = "90%";
</script>
<%
	if (wn_type.equals("I")) { 
%>	
	<%@include file="warehouse.weighing.import.jsp"%> 
<%
	}
%>	

<%
	if (wn_type.equals("N")) { 
%>	
	<%@include file="warehouse.weighing.in-process.jsp"%> 
<%
	}
%>	

<%
	if (wn_type.equals("X")) { 
%>	
	<%@include file="warehouse.weighing.ex-process.jsp"%> 
<%
	}
%>	

<%
	if (wn_type.equals("E")) { 
%>	
	<%@include file="warehouse.weighing.export.jsp"%> 
<%
	}
%>	

<script language="javascript">hide("sub_menu_3");</script>

<%@include file="../footer.jsp"%>

